Skip to content

Bump minitest and clean up as minitest 6 is now widely supported#2578

Merged
paracycle merged 1 commit intoShopify:mainfrom
larouxn:minitest_cleanup
Apr 6, 2026
Merged

Bump minitest and clean up as minitest 6 is now widely supported#2578
paracycle merged 1 commit intoShopify:mainfrom
larouxn:minitest_cleanup

Conversation

@larouxn
Copy link
Copy Markdown
Contributor

@larouxn larouxn commented Apr 3, 2026

Motivation

Proposing we clean up some of the complications and changes we added to our spec helper in order to conditionally use Minitest 6 as until recently Rails 8.1 supported it Minitest 6 but Rails 8.0 did not. This is all possible now that Rails 8.0.5 and minitest-reporters 1.8.0 are out.

Note, there may be some changes that were made to spec_reporter.rb that we want to revert.

Follow up to

Implementation

Mostly a semi-revert of the temporary changes made in the above two PRs.

Tests

CI should prove if everything is working well. Have run such myself over here and all looks good.

https://github.com/larouxn/tapioca/actions/runs/23947725345/job/69847547756 (regen-ed RBIs since this run)

@larouxn larouxn requested a review from a team as a code owner April 3, 2026 14:09
@larouxn larouxn changed the title Bump minitest and related gems to latest and cleanup usage now that minitest 6 is widely supported Bump minitest and cleanup as minitest 6 is now widely supported Apr 3, 2026
@larouxn larouxn changed the title Bump minitest and cleanup as minitest 6 is now widely supported Bump minitest and clean up as minitest 6 is now widely supported Apr 6, 2026
@KaanOzkan KaanOzkan added the chore label Apr 6, 2026
@KaanOzkan
Copy link
Copy Markdown
Contributor

I'm not sure about:

Note, there may be some changes that were made to spec_reporter.rb that we want to revert.

I'll leave it up to @paracycle

@KaanOzkan KaanOzkan requested a review from paracycle April 6, 2026 18:28
@paracycle
Copy link
Copy Markdown
Member

I'm not sure about:

Note, there may be some changes that were made to spec_reporter.rb that we want to revert.

I'll leave it up to @paracycle

I made those changes because they weren't working properly anyway, so no need to revert any of those.

@paracycle paracycle merged commit 764aab9 into Shopify:main Apr 6, 2026
20 checks passed
@larouxn larouxn deleted the minitest_cleanup branch April 6, 2026 18:32
@larouxn
Copy link
Copy Markdown
Contributor Author

larouxn commented Apr 6, 2026

I think a few of the CI steps may have failed on main post merge (CI failure logs) due to my other PR that added checksums to the Gemfile.lock being merged first time then me not rebasing this PR pre-merge.

I'll open a quick follow up fix PR in a little bit. Should just be a quick Gemfile.lock update/sync.

EDIT: follow up PR is up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants